<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hdcp22_cipher: Hdcp22_cipher_v1_1</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hdcp22_cipher
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__hdcp22__cipher__v1__1.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Hdcp22_cipher_v1_1</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_hdcp22___cipher___config.html">XHdcp22_Cipher_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the HDCP22 Cipher core.  <a href="struct_x_hdcp22___cipher___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The XHdcp22 Cipher driver instance data.  <a href="struct_x_hdcp22___cipher.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga36e8599e46cd9f4583bbe86d3e02b8c7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga36e8599e46cd9f4583bbe86d3e02b8c7">XHDCP22_CIPHER_H</a></td></tr>
<tr class="memdesc:ga36e8599e46cd9f4583bbe86d3e02b8c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Prevent circular inclusions by using protection macros  <a href="#ga36e8599e46cd9f4583bbe86d3e02b8c7">More...</a><br /></td></tr>
<tr class="separator:ga36e8599e46cd9f4583bbe86d3e02b8c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d37e8f2f1115eea4e9e56c38e94d9fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga2d37e8f2f1115eea4e9e56c38e94d9fb">XHdcp22Cipher_Enable</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga2d37e8f2f1115eea4e9e56c38e94d9fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro enables the HDCP22 Cipher peripheral.  <a href="#ga2d37e8f2f1115eea4e9e56c38e94d9fb">More...</a><br /></td></tr>
<tr class="separator:ga2d37e8f2f1115eea4e9e56c38e94d9fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8134a3feb6f323789973f8e51e0183b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga8134a3feb6f323789973f8e51e0183b8">XHdcp22Cipher_Disable</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga8134a3feb6f323789973f8e51e0183b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro disables the HDCP22 Cipher peripheral.  <a href="#ga8134a3feb6f323789973f8e51e0183b8">More...</a><br /></td></tr>
<tr class="separator:ga8134a3feb6f323789973f8e51e0183b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bafb9e80383da4a6cdcda4d71a0db44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga5bafb9e80383da4a6cdcda4d71a0db44">XHdcp22Cipher_IsEnabled</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga5bafb9e80383da4a6cdcda4d71a0db44"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro returns the encrypted enabled state of the HDCP22 Cipher core instance.  <a href="#ga5bafb9e80383da4a6cdcda4d71a0db44">More...</a><br /></td></tr>
<tr class="separator:ga5bafb9e80383da4a6cdcda4d71a0db44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f017a5eb8e9dd5061518ff474d988fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga0f017a5eb8e9dd5061518ff474d988fe">XHdcp22Cipher_SetTxMode</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga0f017a5eb8e9dd5061518ff474d988fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro sets the HDCP operation mode for the HDCP22 Cipher peripheral.  <a href="#ga0f017a5eb8e9dd5061518ff474d988fe">More...</a><br /></td></tr>
<tr class="separator:ga0f017a5eb8e9dd5061518ff474d988fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae971431dbdca802c188be9bf06fdca4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gae971431dbdca802c188be9bf06fdca4b">XHdcp22Cipher_SetRxMode</a>(InstancePtr)</td></tr>
<tr class="memdesc:gae971431dbdca802c188be9bf06fdca4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro sets the HDCP RX operation mode for the HDCP22 Cipher peripheral.  <a href="#gae971431dbdca802c188be9bf06fdca4b">More...</a><br /></td></tr>
<tr class="separator:gae971431dbdca802c188be9bf06fdca4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc6d67332a849a29345818994d6a8171"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gabc6d67332a849a29345818994d6a8171">XHdcp22Cipher_EnableTxEncryption</a>(InstancePtr)</td></tr>
<tr class="memdesc:gabc6d67332a849a29345818994d6a8171"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro enables HDCP TX encryption for the HDCP22 Cipher peripheral.  <a href="#gabc6d67332a849a29345818994d6a8171">More...</a><br /></td></tr>
<tr class="separator:gabc6d67332a849a29345818994d6a8171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05e1069639112217737b1bcce4460727"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga05e1069639112217737b1bcce4460727">XHdcp22Cipher_DisableTxEncryption</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga05e1069639112217737b1bcce4460727"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro disables HDCP TX encryption for the HDCP22 Cipher peripheral.  <a href="#ga05e1069639112217737b1bcce4460727">More...</a><br /></td></tr>
<tr class="separator:ga05e1069639112217737b1bcce4460727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae922aaba40dcc0a56f00bcef5975d9d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gae922aaba40dcc0a56f00bcef5975d9d7">XHdcp22Cipher_IsTxEncryptionEnabled</a>(InstancePtr)</td></tr>
<tr class="memdesc:gae922aaba40dcc0a56f00bcef5975d9d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro returns the encrypted enabled state of HDCP TX encryption for the HDCP22 Cipher peripheral.  <a href="#gae922aaba40dcc0a56f00bcef5975d9d7">More...</a><br /></td></tr>
<tr class="separator:gae922aaba40dcc0a56f00bcef5975d9d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga825bc03f2601c7060f57d93fba764ed8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga825bc03f2601c7060f57d93fba764ed8">XHdcp22Cipher_IsEncrypted</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga825bc03f2601c7060f57d93fba764ed8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro returns the encrypted state for the HDCP22 Cipher peripheral.  <a href="#ga825bc03f2601c7060f57d93fba764ed8">More...</a><br /></td></tr>
<tr class="separator:ga825bc03f2601c7060f57d93fba764ed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e97d67c809f3e88dd385025303b64b2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga9e97d67c809f3e88dd385025303b64b2">XHdcp22Cipher_Noise</a>(InstancePtr,  Set)</td></tr>
<tr class="memdesc:ga9e97d67c809f3e88dd385025303b64b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro enables or disables noise output for the HDCP22 Cipher peripheral.  <a href="#ga9e97d67c809f3e88dd385025303b64b2">More...</a><br /></td></tr>
<tr class="separator:ga9e97d67c809f3e88dd385025303b64b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3052ca952630146a2e957159c6285b1a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga3052ca952630146a2e957159c6285b1a">XHdcp22Cipher_Blank</a>(InstancePtr,  Set)</td></tr>
<tr class="memdesc:ga3052ca952630146a2e957159c6285b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro enables or disables blank screen for the HDCP22 Cipher peripheral.  <a href="#ga3052ca952630146a2e957159c6285b1a">More...</a><br /></td></tr>
<tr class="separator:ga3052ca952630146a2e957159c6285b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1904cbda2ea9d4533cf694940fdcfd82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga1904cbda2ea9d4533cf694940fdcfd82">XHdcp22Cipher_GetVersion</a>(InstancePtr)&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#gaab7f31b6edcb7f334dba1723562f0b08">XHDCP22_CIPHER_VER_VERSION_OFFSET</a>)</td></tr>
<tr class="memdesc:ga1904cbda2ea9d4533cf694940fdcfd82"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the version for the HDCP22 Cipher peripheral.  <a href="#ga1904cbda2ea9d4533cf694940fdcfd82">More...</a><br /></td></tr>
<tr class="separator:ga1904cbda2ea9d4533cf694940fdcfd82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1fcc3f8c1e69df2d16f5b24cf58749c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga1fcc3f8c1e69df2d16f5b24cf58749c3">XHDCP22_CIPHER_HW_H</a></td></tr>
<tr class="memdesc:ga1fcc3f8c1e69df2d16f5b24cf58749c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Prevent circular inclusions by using protection macros  <a href="#ga1fcc3f8c1e69df2d16f5b24cf58749c3">More...</a><br /></td></tr>
<tr class="separator:ga1fcc3f8c1e69df2d16f5b24cf58749c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab5edfdfe3390aa42c35801ea76b7a2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gaab5edfdfe3390aa42c35801ea76b7a2f">XHDCP22_CIPHER_VER_ID_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_VER_BASE)+(0*4))</td></tr>
<tr class="memdesc:gaab5edfdfe3390aa42c35801ea76b7a2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">VER Identification register * register offset.  <a href="#gaab5edfdfe3390aa42c35801ea76b7a2f">More...</a><br /></td></tr>
<tr class="separator:gaab5edfdfe3390aa42c35801ea76b7a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab7f31b6edcb7f334dba1723562f0b08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gaab7f31b6edcb7f334dba1723562f0b08">XHDCP22_CIPHER_VER_VERSION_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_VER_BASE)+(1*4))</td></tr>
<tr class="memdesc:gaab7f31b6edcb7f334dba1723562f0b08"><td class="mdescLeft">&#160;</td><td class="mdescRight">VER Version register * offset.  <a href="#gaab7f31b6edcb7f334dba1723562f0b08">More...</a><br /></td></tr>
<tr class="separator:gaab7f31b6edcb7f334dba1723562f0b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59baf4064cf447a8bc0991c8242f7221"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga59baf4064cf447a8bc0991c8242f7221">XHDCP22_CIPHER_REG_CTRL_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(0*4))</td></tr>
<tr class="memdesc:ga59baf4064cf447a8bc0991c8242f7221"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register * register offset.  <a href="#ga59baf4064cf447a8bc0991c8242f7221">More...</a><br /></td></tr>
<tr class="separator:ga59baf4064cf447a8bc0991c8242f7221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23d82cf795bb981070bdfcb571faa316"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(1*4))</td></tr>
<tr class="memdesc:ga23d82cf795bb981070bdfcb571faa316"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control set register * offset.  <a href="#ga23d82cf795bb981070bdfcb571faa316">More...</a><br /></td></tr>
<tr class="separator:ga23d82cf795bb981070bdfcb571faa316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42e3f5b8c1f600d59c493effd730feb4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(2*4))</td></tr>
<tr class="memdesc:ga42e3f5b8c1f600d59c493effd730feb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control clear register * offset.  <a href="#ga42e3f5b8c1f600d59c493effd730feb4">More...</a><br /></td></tr>
<tr class="separator:ga42e3f5b8c1f600d59c493effd730feb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf32fc0d1755832ab07f3dcee8101b1a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gacf32fc0d1755832ab07f3dcee8101b1a">XHDCP22_CIPHER_REG_STA_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(3*4))</td></tr>
<tr class="memdesc:gacf32fc0d1755832ab07f3dcee8101b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register * offset.  <a href="#gacf32fc0d1755832ab07f3dcee8101b1a">More...</a><br /></td></tr>
<tr class="separator:gacf32fc0d1755832ab07f3dcee8101b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27757ac7f66c20e9ea89e7c8ef36ae0c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga27757ac7f66c20e9ea89e7c8ef36ae0c">XHDCP22_CIPHER_REG_KS_1_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(4*4))</td></tr>
<tr class="memdesc:ga27757ac7f66c20e9ea89e7c8ef36ae0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ks register 1 * offset.  <a href="#ga27757ac7f66c20e9ea89e7c8ef36ae0c">More...</a><br /></td></tr>
<tr class="separator:ga27757ac7f66c20e9ea89e7c8ef36ae0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafdd89b7ac74cbc21d5a4f4c419ee3cc1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gafdd89b7ac74cbc21d5a4f4c419ee3cc1">XHDCP22_CIPHER_REG_KS_2_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(5*4))</td></tr>
<tr class="memdesc:gafdd89b7ac74cbc21d5a4f4c419ee3cc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ks register 2 * offset.  <a href="#gafdd89b7ac74cbc21d5a4f4c419ee3cc1">More...</a><br /></td></tr>
<tr class="separator:gafdd89b7ac74cbc21d5a4f4c419ee3cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe9aff641305103fb807d265bdc7c180"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gafe9aff641305103fb807d265bdc7c180">XHDCP22_CIPHER_REG_KS_3_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(6*4))</td></tr>
<tr class="memdesc:gafe9aff641305103fb807d265bdc7c180"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ks register 3 * offset.  <a href="#gafe9aff641305103fb807d265bdc7c180">More...</a><br /></td></tr>
<tr class="separator:gafe9aff641305103fb807d265bdc7c180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad54f089cd42d49efbe9a51f79334b99e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gad54f089cd42d49efbe9a51f79334b99e">XHDCP22_CIPHER_REG_KS_4_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(7*4))</td></tr>
<tr class="memdesc:gad54f089cd42d49efbe9a51f79334b99e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ks register 4 * offset.  <a href="#gad54f089cd42d49efbe9a51f79334b99e">More...</a><br /></td></tr>
<tr class="separator:gad54f089cd42d49efbe9a51f79334b99e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59cd2434ec0f2a563c9a9cdd67e76ade"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga59cd2434ec0f2a563c9a9cdd67e76ade">XHDCP22_CIPHER_REG_LC128_1_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(8*4))</td></tr>
<tr class="memdesc:ga59cd2434ec0f2a563c9a9cdd67e76ade"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lc128 register 1 * offset.  <a href="#ga59cd2434ec0f2a563c9a9cdd67e76ade">More...</a><br /></td></tr>
<tr class="separator:ga59cd2434ec0f2a563c9a9cdd67e76ade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ee7b708bcc7cb4965ff961007f5fe14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga4ee7b708bcc7cb4965ff961007f5fe14">XHDCP22_CIPHER_REG_LC128_2_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(9*4))</td></tr>
<tr class="memdesc:ga4ee7b708bcc7cb4965ff961007f5fe14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lc128 register 2 * offset.  <a href="#ga4ee7b708bcc7cb4965ff961007f5fe14">More...</a><br /></td></tr>
<tr class="separator:ga4ee7b708bcc7cb4965ff961007f5fe14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64a601eff300a5a6c422f1d575da8b7c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga64a601eff300a5a6c422f1d575da8b7c">XHDCP22_CIPHER_REG_LC128_3_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(10*4))</td></tr>
<tr class="memdesc:ga64a601eff300a5a6c422f1d575da8b7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lc128 register 3 * offset.  <a href="#ga64a601eff300a5a6c422f1d575da8b7c">More...</a><br /></td></tr>
<tr class="separator:ga64a601eff300a5a6c422f1d575da8b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae62eb3aed6c643cc455a594f285d206f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gae62eb3aed6c643cc455a594f285d206f">XHDCP22_CIPHER_REG_LC128_4_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(11*4))</td></tr>
<tr class="memdesc:gae62eb3aed6c643cc455a594f285d206f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lc128 register 4 * offset.  <a href="#gae62eb3aed6c643cc455a594f285d206f">More...</a><br /></td></tr>
<tr class="separator:gae62eb3aed6c643cc455a594f285d206f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae69fc8ee52b8176eb0811ba7abddcef1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gae69fc8ee52b8176eb0811ba7abddcef1">XHDCP22_CIPHER_REG_RIV_1_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(12*4))</td></tr>
<tr class="memdesc:gae69fc8ee52b8176eb0811ba7abddcef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Riv register 1 * offset.  <a href="#gae69fc8ee52b8176eb0811ba7abddcef1">More...</a><br /></td></tr>
<tr class="separator:gae69fc8ee52b8176eb0811ba7abddcef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f9cfb945d47494f72464d5eaacd9716"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga7f9cfb945d47494f72464d5eaacd9716">XHDCP22_CIPHER_REG_RIV_2_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(13*4))</td></tr>
<tr class="memdesc:ga7f9cfb945d47494f72464d5eaacd9716"><td class="mdescLeft">&#160;</td><td class="mdescRight">Riv register 2 * offset.  <a href="#ga7f9cfb945d47494f72464d5eaacd9716">More...</a><br /></td></tr>
<tr class="separator:ga7f9cfb945d47494f72464d5eaacd9716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa174a8cba5f372f3ef155cc544bba70a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gaa174a8cba5f372f3ef155cc544bba70a">XHDCP22_CIPHER_REG_INPUTCTR_1_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(14*4))</td></tr>
<tr class="memdesc:gaa174a8cba5f372f3ef155cc544bba70a"><td class="mdescLeft">&#160;</td><td class="mdescRight">InputCtr register 1 * offset.  <a href="#gaa174a8cba5f372f3ef155cc544bba70a">More...</a><br /></td></tr>
<tr class="separator:gaa174a8cba5f372f3ef155cc544bba70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a501beb4e8fbcbc7fdeb56aeba263b4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga0a501beb4e8fbcbc7fdeb56aeba263b4">XHDCP22_CIPHER_REG_INPUTCTR_2_OFFSET</a>&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(15*4))</td></tr>
<tr class="memdesc:ga0a501beb4e8fbcbc7fdeb56aeba263b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">InputCtr register 2 * offset.  <a href="#ga0a501beb4e8fbcbc7fdeb56aeba263b4">More...</a><br /></td></tr>
<tr class="separator:ga0a501beb4e8fbcbc7fdeb56aeba263b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga242122ae1fa2499518f3e2d978190a10"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a>&#160;&#160;&#160;(1&lt;&lt;0)</td></tr>
<tr class="memdesc:ga242122ae1fa2499518f3e2d978190a10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Run mask.  <a href="#ga242122ae1fa2499518f3e2d978190a10">More...</a><br /></td></tr>
<tr class="separator:ga242122ae1fa2499518f3e2d978190a10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga355c8b807bd5d239feece973ab36f280"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga355c8b807bd5d239feece973ab36f280">XHDCP22_CIPHER_REG_CTRL_IE_MASK</a>&#160;&#160;&#160;(1&lt;&lt;1)</td></tr>
<tr class="memdesc:ga355c8b807bd5d239feece973ab36f280"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Interrupt Enable mask.  <a href="#ga355c8b807bd5d239feece973ab36f280">More...</a><br /></td></tr>
<tr class="separator:ga355c8b807bd5d239feece973ab36f280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9999b5a4f4b113af9b79e583fd9a391"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gaf9999b5a4f4b113af9b79e583fd9a391">XHDCP22_CIPHER_REG_CTRL_MODE_MASK</a>&#160;&#160;&#160;(1&lt;&lt;2)</td></tr>
<tr class="memdesc:gaf9999b5a4f4b113af9b79e583fd9a391"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Mode mask.  <a href="#gaf9999b5a4f4b113af9b79e583fd9a391">More...</a><br /></td></tr>
<tr class="separator:gaf9999b5a4f4b113af9b79e583fd9a391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13ba319db7ea5f068f70ff60e80e1906"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a>&#160;&#160;&#160;(1&lt;&lt;3)</td></tr>
<tr class="memdesc:ga13ba319db7ea5f068f70ff60e80e1906"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register Encrypt mask.  <a href="#ga13ba319db7ea5f068f70ff60e80e1906">More...</a><br /></td></tr>
<tr class="separator:ga13ba319db7ea5f068f70ff60e80e1906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa4ee53770fc4f60c2ee363fe0651c6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gafa4ee53770fc4f60c2ee363fe0651c6a">XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</a>&#160;&#160;&#160;(1&lt;&lt;4)</td></tr>
<tr class="memdesc:gafa4ee53770fc4f60c2ee363fe0651c6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register blank mask.  <a href="#gafa4ee53770fc4f60c2ee363fe0651c6a">More...</a><br /></td></tr>
<tr class="separator:gafa4ee53770fc4f60c2ee363fe0651c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89090e6ad57ea04fa92013b6dc1025f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga89090e6ad57ea04fa92013b6dc1025f0">XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</a>&#160;&#160;&#160;(1&lt;&lt;5)</td></tr>
<tr class="memdesc:ga89090e6ad57ea04fa92013b6dc1025f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register noise mask.  <a href="#ga89090e6ad57ea04fa92013b6dc1025f0">More...</a><br /></td></tr>
<tr class="separator:ga89090e6ad57ea04fa92013b6dc1025f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ac0519b5b67ab5456564663b82bfb51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga3ac0519b5b67ab5456564663b82bfb51">XHDCP22_CIPHER_REG_STA_IRQ_MASK</a>&#160;&#160;&#160;(1&lt;&lt;0)</td></tr>
<tr class="memdesc:ga3ac0519b5b67ab5456564663b82bfb51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register interrupt mask.  <a href="#ga3ac0519b5b67ab5456564663b82bfb51">More...</a><br /></td></tr>
<tr class="separator:ga3ac0519b5b67ab5456564663b82bfb51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac978e493ce62a062aea7982f9db485ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gac978e493ce62a062aea7982f9db485ac">XHDCP22_CIPHER_REG_STA_EVT_MASK</a>&#160;&#160;&#160;(1&lt;&lt;1)</td></tr>
<tr class="memdesc:gac978e493ce62a062aea7982f9db485ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register event mask.  <a href="#gac978e493ce62a062aea7982f9db485ac">More...</a><br /></td></tr>
<tr class="separator:gac978e493ce62a062aea7982f9db485ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a0bb78429dece8b52eb35588842afb1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga5a0bb78429dece8b52eb35588842afb1">XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</a>&#160;&#160;&#160;(1&lt;&lt;2)</td></tr>
<tr class="memdesc:ga5a0bb78429dece8b52eb35588842afb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register encrypted mask.  <a href="#ga5a0bb78429dece8b52eb35588842afb1">More...</a><br /></td></tr>
<tr class="separator:ga5a0bb78429dece8b52eb35588842afb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga386adc1b38325505ded478f4d40fa692"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga386adc1b38325505ded478f4d40fa692">XHDCP22_CIPHER_SHIFT_16</a>&#160;&#160;&#160;16</td></tr>
<tr class="memdesc:ga386adc1b38325505ded478f4d40fa692"><td class="mdescLeft">&#160;</td><td class="mdescRight">16 shift value  <a href="#ga386adc1b38325505ded478f4d40fa692">More...</a><br /></td></tr>
<tr class="separator:ga386adc1b38325505ded478f4d40fa692"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacce7070e4d4e8c1dc04c517862c7417b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gacce7070e4d4e8c1dc04c517862c7417b">XHDCP22_CIPHER_MASK_16</a>&#160;&#160;&#160;0xFFFF</td></tr>
<tr class="memdesc:gacce7070e4d4e8c1dc04c517862c7417b"><td class="mdescLeft">&#160;</td><td class="mdescRight">16 bit mask value  <a href="#gacce7070e4d4e8c1dc04c517862c7417b">More...</a><br /></td></tr>
<tr class="separator:gacce7070e4d4e8c1dc04c517862c7417b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bae35ace045d9b076fa767511f7d5b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga6bae35ace045d9b076fa767511f7d5b9">XHDCP22_CIPHER_VER_ID</a>&#160;&#160;&#160;0x2200</td></tr>
<tr class="memdesc:ga6bae35ace045d9b076fa767511f7d5b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Version ID.  <a href="#ga6bae35ace045d9b076fa767511f7d5b9">More...</a><br /></td></tr>
<tr class="separator:ga6bae35ace045d9b076fa767511f7d5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga5efdef3153d7c5b9953ee764d69a30b0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize</a> (<a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *InstancePtr, <a class="el" href="struct_x_hdcp22___cipher___config.html">XHdcp22_Cipher_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga5efdef3153d7c5b9953ee764d69a30b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the HDCP22 Cipher core.  <a href="#ga5efdef3153d7c5b9953ee764d69a30b0">More...</a><br /></td></tr>
<tr class="separator:ga5efdef3153d7c5b9953ee764d69a30b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga416c55928fae40ecadc891c4c33445fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga416c55928fae40ecadc891c4c33445fa">XHdcp22Cipher_SetKs</a> (<a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *InstancePtr, const u8 *KsPtr, u16 Length)</td></tr>
<tr class="memdesc:ga416c55928fae40ecadc891c4c33445fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Ks key in the HDCP22 Cipher core.  <a href="#ga416c55928fae40ecadc891c4c33445fa">More...</a><br /></td></tr>
<tr class="separator:ga416c55928fae40ecadc891c4c33445fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga847b7f42086ee357022e35311f1d4317"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga847b7f42086ee357022e35311f1d4317">XHdcp22Cipher_SetLc128</a> (<a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *InstancePtr, const u8 *Lc128Ptr, u16 Length)</td></tr>
<tr class="memdesc:ga847b7f42086ee357022e35311f1d4317"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Lc128 key in the HDCP22 Cipher core.  <a href="#ga847b7f42086ee357022e35311f1d4317">More...</a><br /></td></tr>
<tr class="separator:ga847b7f42086ee357022e35311f1d4317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c34621ad21b25631a15efc6525ab49d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga9c34621ad21b25631a15efc6525ab49d">XHdcp22Cipher_SetRiv</a> (<a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *InstancePtr, const u8 *RivPtr, u16 Length)</td></tr>
<tr class="memdesc:ga9c34621ad21b25631a15efc6525ab49d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Riv key in the HDCP22 Cipher core.  <a href="#ga9c34621ad21b25631a15efc6525ab49d">More...</a><br /></td></tr>
<tr class="separator:ga9c34621ad21b25631a15efc6525ab49d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5856e909adc6565d8b3d1cfeceb8d72e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_hdcp22___cipher___config.html">XHdcp22_Cipher_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga5856e909adc6565d8b3d1cfeceb8d72e">XHdcp22Cipher_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga5856e909adc6565d8b3d1cfeceb8d72e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a reference to an <a class="el" href="struct_x_hdcp22___cipher___config.html" title="This typedef contains configuration information for the HDCP22 Cipher core. ">XHdcp22_Cipher_Config</a> structure based on the core id, <em>DeviceId</em>.  <a href="#ga5856e909adc6565d8b3d1cfeceb8d72e">More...</a><br /></td></tr>
<tr class="separator:ga5856e909adc6565d8b3d1cfeceb8d72e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3f78fd3af59a425cf52222b7d25f4a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest</a> (<a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae3f78fd3af59a425cf52222b7d25f4a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads ID of the peripheral.  <a href="#gae3f78fd3af59a425cf52222b7d25f4a9">More...</a><br /></td></tr>
<tr class="separator:gae3f78fd3af59a425cf52222b7d25f4a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register access macro definition</h2></td></tr>
<tr class="memitem:ga0177ad5bd29ed6542a6aa2faf5623999"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga0177ad5bd29ed6542a6aa2faf5623999">XHdcp22Cipher_In32</a>&#160;&#160;&#160;Xil_In32</td></tr>
<tr class="memdesc:ga0177ad5bd29ed6542a6aa2faf5623999"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input Operations.  <a href="#ga0177ad5bd29ed6542a6aa2faf5623999">More...</a><br /></td></tr>
<tr class="separator:ga0177ad5bd29ed6542a6aa2faf5623999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga326243b9841b62a7e3987230a57fa8fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga326243b9841b62a7e3987230a57fa8fa">XHdcp22Cipher_Out32</a>&#160;&#160;&#160;Xil_Out32</td></tr>
<tr class="memdesc:ga326243b9841b62a7e3987230a57fa8fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output Operations.  <a href="#ga326243b9841b62a7e3987230a57fa8fa">More...</a><br /></td></tr>
<tr class="separator:ga326243b9841b62a7e3987230a57fa8fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28f5d596723ef4ad40f7c9f488bb2217"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga0177ad5bd29ed6542a6aa2faf5623999">XHdcp22Cipher_In32</a>((BaseAddress) + ((u32)RegOffset))</td></tr>
<tr class="memdesc:ga28f5d596723ef4ad40f7c9f488bb2217"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads a value from a HDCP22 Cipher register.  <a href="#ga28f5d596723ef4ad40f7c9f488bb2217">More...</a><br /></td></tr>
<tr class="separator:ga28f5d596723ef4ad40f7c9f488bb2217"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d49e32876b9d4cf2413a3dc2bafafba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga326243b9841b62a7e3987230a57fa8fa">XHdcp22Cipher_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:ga0d49e32876b9d4cf2413a3dc2bafafba"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro writes a value to a HDCP22 Cipher register.  <a href="#ga0d49e32876b9d4cf2413a3dc2bafafba">More...</a><br /></td></tr>
<tr class="separator:ga0d49e32876b9d4cf2413a3dc2bafafba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e253c306c1a954a922b7062c52b9652"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga5e253c306c1a954a922b7062c52b9652">XHdcp22Cipher_GetStatusReg</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#gacf32fc0d1755832ab07f3dcee8101b1a">XHDCP22_CIPHER_REG_STA_OFFSET</a>)</td></tr>
<tr class="memdesc:ga5e253c306c1a954a922b7062c52b9652"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the status register from the HDCP22 Cipher.  <a href="#ga5e253c306c1a954a922b7062c52b9652">More...</a><br /></td></tr>
<tr class="separator:ga5e253c306c1a954a922b7062c52b9652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18fa33f42962819a5f1fab3f4a7ed7db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__cipher__v1__1.html#ga18fa33f42962819a5f1fab3f4a7ed7db">XHdcp22Cipher_GetControlReg</a>(BaseAddress)&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga59baf4064cf447a8bc0991c8242f7221">XHDCP22_CIPHER_REG_CTRL_OFFSET</a>)</td></tr>
<tr class="memdesc:ga18fa33f42962819a5f1fab3f4a7ed7db"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the control register from the HDCP22 Cipher.  <a href="#ga18fa33f42962819a5f1fab3f4a7ed7db">More...</a><br /></td></tr>
<tr class="separator:ga18fa33f42962819a5f1fab3f4a7ed7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga36e8599e46cd9f4583bbe86d3e02b8c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36e8599e46cd9f4583bbe86d3e02b8c7">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_H</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>

<p>&lt; Prevent circular inclusions by using protection macros </p>

</div>
</div>
<a id="ga1fcc3f8c1e69df2d16f5b24cf58749c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1fcc3f8c1e69df2d16f5b24cf58749c3">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_HW_H</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_HW_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>&lt; Prevent circular inclusions by using protection macros </p>

</div>
</div>
<a id="gacce7070e4d4e8c1dc04c517862c7417b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacce7070e4d4e8c1dc04c517862c7417b">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_MASK_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_MASK_16&#160;&#160;&#160;0xFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>16 bit mask value </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest()</a>.</p>

</div>
</div>
<a id="gafa4ee53770fc4f60c2ee363fe0651c6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa4ee53770fc4f60c2ee363fe0651c6a">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_BLANK_MASK&#160;&#160;&#160;(1&lt;&lt;4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register blank mask. </p>

</div>
</div>
<a id="ga42e3f5b8c1f600d59c493effd730feb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga42e3f5b8c1f600d59c493effd730feb4">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(2*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control clear register * offset. </p>

</div>
</div>
<a id="ga13ba319db7ea5f068f70ff60e80e1906"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga13ba319db7ea5f068f70ff60e80e1906">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK&#160;&#160;&#160;(1&lt;&lt;3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register Encrypt mask. </p>

</div>
</div>
<a id="ga355c8b807bd5d239feece973ab36f280"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga355c8b807bd5d239feece973ab36f280">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_IE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_IE_MASK&#160;&#160;&#160;(1&lt;&lt;1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register Interrupt Enable mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="gaf9999b5a4f4b113af9b79e583fd9a391"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9999b5a4f4b113af9b79e583fd9a391">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_MODE_MASK&#160;&#160;&#160;(1&lt;&lt;2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register Mode mask. </p>

</div>
</div>
<a id="ga89090e6ad57ea04fa92013b6dc1025f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga89090e6ad57ea04fa92013b6dc1025f0">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_NOISE_MASK&#160;&#160;&#160;(1&lt;&lt;5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register noise mask. </p>

</div>
</div>
<a id="ga59baf4064cf447a8bc0991c8242f7221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59baf4064cf447a8bc0991c8242f7221">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(0*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register * register offset. </p>

</div>
</div>
<a id="ga242122ae1fa2499518f3e2d978190a10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga242122ae1fa2499518f3e2d978190a10">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_RUN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_RUN_MASK&#160;&#160;&#160;(1&lt;&lt;0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control register Run mask. </p>

</div>
</div>
<a id="ga23d82cf795bb981070bdfcb571faa316"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga23d82cf795bb981070bdfcb571faa316">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(1*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Control set register * offset. </p>

</div>
</div>
<a id="gaa174a8cba5f372f3ef155cc544bba70a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa174a8cba5f372f3ef155cc544bba70a">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_INPUTCTR_1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_INPUTCTR_1_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(14*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>InputCtr register 1 * offset. </p>

</div>
</div>
<a id="ga0a501beb4e8fbcbc7fdeb56aeba263b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a501beb4e8fbcbc7fdeb56aeba263b4">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_INPUTCTR_2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_INPUTCTR_2_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(15*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>InputCtr register 2 * offset. </p>

</div>
</div>
<a id="ga27757ac7f66c20e9ea89e7c8ef36ae0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga27757ac7f66c20e9ea89e7c8ef36ae0c">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_KS_1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_KS_1_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(4*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Ks register 1 * offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga416c55928fae40ecadc891c4c33445fa">XHdcp22Cipher_SetKs()</a>.</p>

</div>
</div>
<a id="gafdd89b7ac74cbc21d5a4f4c419ee3cc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafdd89b7ac74cbc21d5a4f4c419ee3cc1">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_KS_2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_KS_2_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(5*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Ks register 2 * offset. </p>

</div>
</div>
<a id="gafe9aff641305103fb807d265bdc7c180"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe9aff641305103fb807d265bdc7c180">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_KS_3_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_KS_3_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(6*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Ks register 3 * offset. </p>

</div>
</div>
<a id="gad54f089cd42d49efbe9a51f79334b99e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad54f089cd42d49efbe9a51f79334b99e">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_KS_4_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_KS_4_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(7*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Ks register 4 * offset. </p>

</div>
</div>
<a id="ga59cd2434ec0f2a563c9a9cdd67e76ade"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59cd2434ec0f2a563c9a9cdd67e76ade">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_LC128_1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_LC128_1_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(8*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Lc128 register 1 * offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga847b7f42086ee357022e35311f1d4317">XHdcp22Cipher_SetLc128()</a>.</p>

</div>
</div>
<a id="ga4ee7b708bcc7cb4965ff961007f5fe14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4ee7b708bcc7cb4965ff961007f5fe14">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_LC128_2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_LC128_2_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(9*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Lc128 register 2 * offset. </p>

</div>
</div>
<a id="ga64a601eff300a5a6c422f1d575da8b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64a601eff300a5a6c422f1d575da8b7c">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_LC128_3_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_LC128_3_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(10*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Lc128 register 3 * offset. </p>

</div>
</div>
<a id="gae62eb3aed6c643cc455a594f285d206f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae62eb3aed6c643cc455a594f285d206f">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_LC128_4_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_LC128_4_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(11*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Lc128 register 4 * offset. </p>

</div>
</div>
<a id="gae69fc8ee52b8176eb0811ba7abddcef1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae69fc8ee52b8176eb0811ba7abddcef1">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_RIV_1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_RIV_1_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(12*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Riv register 1 * offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga9c34621ad21b25631a15efc6525ab49d">XHdcp22Cipher_SetRiv()</a>.</p>

</div>
</div>
<a id="ga7f9cfb945d47494f72464d5eaacd9716"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f9cfb945d47494f72464d5eaacd9716">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_RIV_2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_RIV_2_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(13*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Riv register 2 * offset. </p>

</div>
</div>
<a id="ga5a0bb78429dece8b52eb35588842afb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a0bb78429dece8b52eb35588842afb1">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK&#160;&#160;&#160;(1&lt;&lt;2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Status register encrypted mask. </p>

</div>
</div>
<a id="gac978e493ce62a062aea7982f9db485ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac978e493ce62a062aea7982f9db485ac">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_STA_EVT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_STA_EVT_MASK&#160;&#160;&#160;(1&lt;&lt;1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Status register event mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="ga3ac0519b5b67ab5456564663b82bfb51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ac0519b5b67ab5456564663b82bfb51">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_STA_IRQ_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_STA_IRQ_MASK&#160;&#160;&#160;(1&lt;&lt;0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Status register interrupt mask. </p>
<p>Reserved for future use. </p>

</div>
</div>
<a id="gacf32fc0d1755832ab07f3dcee8101b1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacf32fc0d1755832ab07f3dcee8101b1a">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_REG_STA_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_REG_STA_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_REG_BASE)+(3*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Status register * offset. </p>

</div>
</div>
<a id="ga386adc1b38325505ded478f4d40fa692"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga386adc1b38325505ded478f4d40fa692">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_SHIFT_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_SHIFT_16&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>16 shift value </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest()</a>.</p>

</div>
</div>
<a id="ga6bae35ace045d9b076fa767511f7d5b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bae35ace045d9b076fa767511f7d5b9">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_VER_ID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_VER_ID&#160;&#160;&#160;0x2200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Version ID. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest()</a>.</p>

</div>
</div>
<a id="gaab5edfdfe3390aa42c35801ea76b7a2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab5edfdfe3390aa42c35801ea76b7a2f">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_VER_ID_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_VER_ID_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_VER_BASE)+(0*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>VER Identification register * register offset. </p>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest()</a>.</p>

</div>
</div>
<a id="gaab7f31b6edcb7f334dba1723562f0b08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab7f31b6edcb7f334dba1723562f0b08">&#9670;&nbsp;</a></span>XHDCP22_CIPHER_VER_VERSION_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHDCP22_CIPHER_VER_VERSION_OFFSET&#160;&#160;&#160;((XHDCP22_CIPHER_VER_BASE)+(1*4))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>VER Version register * offset. </p>

</div>
</div>
<a id="ga3052ca952630146a2e957159c6285b1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3052ca952630146a2e957159c6285b1a">&#9670;&nbsp;</a></span>XHdcp22Cipher_Blank</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_Blank</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Set&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">{ \</div><div class="line">        if (Set) { \</div><div class="line">                XHdcp22Cipher_WriteReg((InstancePtr)-&gt;Config.BaseAddress, (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#gafa4ee53770fc4f60c2ee363fe0651c6a">XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</a>)); \</div><div class="line">        } \</div><div class="line">        else { \</div><div class="line">                XHdcp22Cipher_WriteReg((InstancePtr)-&gt;Config.BaseAddress, (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#gafa4ee53770fc4f60c2ee363fe0651c6a">XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</a>)); \</div><div class="line">        } \</div><div class="line">}</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga23d82cf795bb981070bdfcb571faa316"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_gafa4ee53770fc4f60c2ee363fe0651c6a"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#gafa4ee53770fc4f60c2ee363fe0651c6a">XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_BLANK_MASK</div><div class="ttdoc">Control register blank mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:119</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga42e3f5b8c1f600d59c493effd730feb4"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:81</div></div>
</div><!-- fragment -->
<p>This macro enables or disables blank screen for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">Set</td><td>specifies TRUE/FALSE either to enable/disable blank screen.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga3052ca952630146a2e957159c6285b1a" title="This macro enables or disables blank screen for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_Blank(u32 BaseAddress, u8 Set)</a> </dd></dl>

</div>
</div>
<a id="ga8134a3feb6f323789973f8e51e0183b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8134a3feb6f323789973f8e51e0183b8">&#9670;&nbsp;</a></span>XHdcp22Cipher_Disable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_Disable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga242122ae1fa2499518f3e2d978190a10"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:111</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga42e3f5b8c1f600d59c493effd730feb4"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:81</div></div>
</div><!-- fragment -->
<p>This macro disables the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga8134a3feb6f323789973f8e51e0183b8" title="This macro disables the HDCP22 Cipher peripheral. ">XHdcp22Cipher_Disable(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga05e1069639112217737b1bcce4460727"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05e1069639112217737b1bcce4460727">&#9670;&nbsp;</a></span>XHdcp22Cipher_DisableTxEncryption</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_DisableTxEncryption</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga13ba319db7ea5f068f70ff60e80e1906"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</div><div class="ttdoc">Control register Encrypt mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:117</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga42e3f5b8c1f600d59c493effd730feb4"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:81</div></div>
</div><!-- fragment -->
<p>This macro disables HDCP TX encryption for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga05e1069639112217737b1bcce4460727" title="This macro disables HDCP TX encryption for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_DisableTxEncryption(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga2d37e8f2f1115eea4e9e56c38e94d9fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2d37e8f2f1115eea4e9e56c38e94d9fb">&#9670;&nbsp;</a></span>XHdcp22Cipher_Enable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_Enable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>),(<a class="code" href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga23d82cf795bb981070bdfcb571faa316"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga242122ae1fa2499518f3e2d978190a10"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:111</div></div>
</div><!-- fragment -->
<p>This macro enables the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga2d37e8f2f1115eea4e9e56c38e94d9fb" title="This macro enables the HDCP22 Cipher peripheral. ">XHdcp22Cipher_Enable(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="gabc6d67332a849a29345818994d6a8171"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabc6d67332a849a29345818994d6a8171">&#9670;&nbsp;</a></span>XHdcp22Cipher_EnableTxEncryption</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_EnableTxEncryption</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga23d82cf795bb981070bdfcb571faa316"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga13ba319db7ea5f068f70ff60e80e1906"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</div><div class="ttdoc">Control register Encrypt mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:117</div></div>
</div><!-- fragment -->
<p>This macro enables HDCP TX encryption for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#gabc6d67332a849a29345818994d6a8171" title="This macro enables HDCP TX encryption for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_EnableTxEncryption(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga18fa33f42962819a5f1fab3f4a7ed7db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18fa33f42962819a5f1fab3f4a7ed7db">&#9670;&nbsp;</a></span>XHdcp22Cipher_GetControlReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_GetControlReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga59baf4064cf447a8bc0991c8242f7221">XHDCP22_CIPHER_REG_CTRL_OFFSET</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>This macro reads the control register from the HDCP22 Cipher. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A 32-bit value representing the contents of the control register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5e253c306c1a954a922b7062c52b9652" title="This macro reads the status register from the HDCP22 Cipher. ">XHdcp22Cipher_GetStatusReg(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga5e253c306c1a954a922b7062c52b9652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e253c306c1a954a922b7062c52b9652">&#9670;&nbsp;</a></span>XHdcp22Cipher_GetStatusReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_GetStatusReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>(BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#gacf32fc0d1755832ab07f3dcee8101b1a">XHDCP22_CIPHER_REG_STA_OFFSET</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>This macro reads the status register from the HDCP22 Cipher. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IBaseAddress</td><td>is the base address of the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A 32-bit value representing the contents of the status register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5e253c306c1a954a922b7062c52b9652" title="This macro reads the status register from the HDCP22 Cipher. ">XHdcp22Cipher_GetStatusReg(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga1904cbda2ea9d4533cf694940fdcfd82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1904cbda2ea9d4533cf694940fdcfd82">&#9670;&nbsp;</a></span>XHdcp22Cipher_GetVersion</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_GetVersion</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, <a class="el" href="group__hdcp22__cipher__v1__1.html#gaab7f31b6edcb7f334dba1723562f0b08">XHDCP22_CIPHER_VER_VERSION_OFFSET</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>

<p>This macro reads the version for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>version.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga1904cbda2ea9d4533cf694940fdcfd82" title="This macro reads the version for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_GetVersion(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga0177ad5bd29ed6542a6aa2faf5623999"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0177ad5bd29ed6542a6aa2faf5623999">&#9670;&nbsp;</a></span>XHdcp22Cipher_In32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_In32&#160;&#160;&#160;Xil_In32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Input Operations. </p>

</div>
</div>
<a id="ga5bafb9e80383da4a6cdcda4d71a0db44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5bafb9e80383da4a6cdcda4d71a0db44">&#9670;&nbsp;</a></span>XHdcp22Cipher_IsEnabled</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_IsEnabled</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group__hdcp22__cipher__v1__1.html#ga18fa33f42962819a5f1fab3f4a7ed7db">XHdcp22Cipher_GetControlReg</a>((InstancePtr)-&gt;Config.BaseAddress)\</div><div class="line">        &amp; <a class="code" href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a>) ==  <a class="code" href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a>)</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga18fa33f42962819a5f1fab3f4a7ed7db"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga18fa33f42962819a5f1fab3f4a7ed7db">XHdcp22Cipher_GetControlReg</a></div><div class="ttdeci">#define XHdcp22Cipher_GetControlReg(BaseAddress)</div><div class="ttdoc">This macro reads the control register from the HDCP22 Cipher. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:218</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga242122ae1fa2499518f3e2d978190a10"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga242122ae1fa2499518f3e2d978190a10">XHDCP22_CIPHER_REG_CTRL_RUN_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_RUN_MASK</div><div class="ttdoc">Control register Run mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:111</div></div>
</div><!-- fragment -->
<p>This macro returns the encrypted enabled state of the HDCP22 Cipher core instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if HDCP22 cipher is enabled, FALSE otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5bafb9e80383da4a6cdcda4d71a0db44" title="This macro returns the encrypted enabled state of the HDCP22 Cipher core instance. ">XHdcp22Cipher_IsEnabled(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga825bc03f2601c7060f57d93fba764ed8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga825bc03f2601c7060f57d93fba764ed8">&#9670;&nbsp;</a></span>XHdcp22Cipher_IsEncrypted</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_IsEncrypted</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group__hdcp22__cipher__v1__1.html#ga5e253c306c1a954a922b7062c52b9652">XHdcp22Cipher_GetStatusReg</a>((InstancePtr)-&gt;Config.BaseAddress) \</div><div class="line">        &amp; <a class="code" href="group__hdcp22__cipher__v1__1.html#ga5a0bb78429dece8b52eb35588842afb1">XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</a>) ==  <a class="code" href="group__hdcp22__cipher__v1__1.html#ga5a0bb78429dece8b52eb35588842afb1">XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</a>)</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga5a0bb78429dece8b52eb35588842afb1"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga5a0bb78429dece8b52eb35588842afb1">XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_STA_ENCRYPTED_MASK</div><div class="ttdoc">Status register encrypted mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:129</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga5e253c306c1a954a922b7062c52b9652"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga5e253c306c1a954a922b7062c52b9652">XHdcp22Cipher_GetStatusReg</a></div><div class="ttdeci">#define XHdcp22Cipher_GetStatusReg(BaseAddress)</div><div class="ttdoc">This macro reads the status register from the HDCP22 Cipher. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:202</div></div>
</div><!-- fragment -->
<p>This macro returns the encrypted state for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the frame is encrypted, FALSE otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga05e1069639112217737b1bcce4460727" title="This macro disables HDCP TX encryption for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_DisableTxEncryption(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="gae922aaba40dcc0a56f00bcef5975d9d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae922aaba40dcc0a56f00bcef5975d9d7">&#9670;&nbsp;</a></span>XHdcp22Cipher_IsTxEncryptionEnabled</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_IsTxEncryptionEnabled</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group__hdcp22__cipher__v1__1.html#ga18fa33f42962819a5f1fab3f4a7ed7db">XHdcp22Cipher_GetControlReg</a>((InstancePtr)-&gt;Config.BaseAddress)\</div><div class="line">        &amp; <a class="code" href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a>) ==  <a class="code" href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a>)</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga18fa33f42962819a5f1fab3f4a7ed7db"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga18fa33f42962819a5f1fab3f4a7ed7db">XHdcp22Cipher_GetControlReg</a></div><div class="ttdeci">#define XHdcp22Cipher_GetControlReg(BaseAddress)</div><div class="ttdoc">This macro reads the control register from the HDCP22 Cipher. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:218</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga13ba319db7ea5f068f70ff60e80e1906"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga13ba319db7ea5f068f70ff60e80e1906">XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_ENCRYPT_MASK</div><div class="ttdoc">Control register Encrypt mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:117</div></div>
</div><!-- fragment -->
<p>This macro returns the encrypted enabled state of HDCP TX encryption for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if HDCP22 TX encryption is enabled, FALSE otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__cipher__v1__1.html#gae922aaba40dcc0a56f00bcef5975d9d7" title="This macro returns the encrypted enabled state of HDCP TX encryption for the HDCP22 Cipher peripheral...">XHdcp22Cipher_IsTxEncryptionEnabled(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga9e97d67c809f3e88dd385025303b64b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e97d67c809f3e88dd385025303b64b2">&#9670;&nbsp;</a></span>XHdcp22Cipher_Noise</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_Noise</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Set&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">{ \</div><div class="line">        if (Set) { \</div><div class="line">                XHdcp22Cipher_WriteReg((InstancePtr)-&gt;Config.BaseAddress, (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga89090e6ad57ea04fa92013b6dc1025f0">XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</a>)); \</div><div class="line">        } \</div><div class="line">        else { \</div><div class="line">                XHdcp22Cipher_WriteReg((InstancePtr)-&gt;Config.BaseAddress, (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga89090e6ad57ea04fa92013b6dc1025f0">XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</a>)); \</div><div class="line">        } \</div><div class="line">}</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga23d82cf795bb981070bdfcb571faa316"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga42e3f5b8c1f600d59c493effd730feb4"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:81</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga89090e6ad57ea04fa92013b6dc1025f0"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga89090e6ad57ea04fa92013b6dc1025f0">XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_NOISE_MASK</div><div class="ttdoc">Control register noise mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:121</div></div>
</div><!-- fragment -->
<p>This macro enables or disables noise output for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">Set</td><td>specifies TRUE/FALSE either to enable/disable noise output.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga9e97d67c809f3e88dd385025303b64b2" title="This macro enables or disables noise output for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_Noise(u32 BaseAddress, u8 Set)</a> </dd></dl>

</div>
</div>
<a id="ga326243b9841b62a7e3987230a57fa8fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga326243b9841b62a7e3987230a57fa8fa">&#9670;&nbsp;</a></span>XHdcp22Cipher_Out32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_Out32&#160;&#160;&#160;Xil_Out32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>Output Operations. </p>

</div>
</div>
<a id="ga28f5d596723ef4ad40f7c9f488bb2217"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga28f5d596723ef4ad40f7c9f488bb2217">&#9670;&nbsp;</a></span>XHdcp22Cipher_ReadReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga0177ad5bd29ed6542a6aa2faf5623999">XHdcp22Cipher_In32</a>((BaseAddress) + ((u32)RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>This macro reads a value from a HDCP22 Cipher register. </p>
<p>A 32 bit read is performed. If the component is implemented in a smaller width, only the least significant data is read from the register. The most significant data will be read as 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217" title="This macro reads a value from a HDCP22 Cipher register. ">XHdcp22Cipher_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga5efdef3153d7c5b9953ee764d69a30b0">XHdcp22Cipher_CfgInitialize()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#gae3f78fd3af59a425cf52222b7d25f4a9">XHdcp22Cipher_SelfTest()</a>.</p>

</div>
</div>
<a id="gae971431dbdca802c188be9bf06fdca4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae971431dbdca802c188be9bf06fdca4b">&#9670;&nbsp;</a></span>XHdcp22Cipher_SetRxMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_SetRxMode</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#gaf9999b5a4f4b113af9b79e583fd9a391">XHDCP22_CIPHER_REG_CTRL_MODE_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga23d82cf795bb981070bdfcb571faa316"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga23d82cf795bb981070bdfcb571faa316">XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_SET_OFFSET</div><div class="ttdoc">Control set register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:79</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_gaf9999b5a4f4b113af9b79e583fd9a391"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#gaf9999b5a4f4b113af9b79e583fd9a391">XHDCP22_CIPHER_REG_CTRL_MODE_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_MODE_MASK</div><div class="ttdoc">Control register Mode mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:115</div></div>
</div><!-- fragment -->
<p>This macro sets the HDCP RX operation mode for the HDCP22 Cipher peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#gae971431dbdca802c188be9bf06fdca4b" title="This macro sets the HDCP RX operation mode for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_SetRxMode(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga0f017a5eb8e9dd5061518ff474d988fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f017a5eb8e9dd5061518ff474d988fe">&#9670;&nbsp;</a></span>XHdcp22Cipher_SetTxMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_SetTxMode</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div><div class="line">        (<a class="code" href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a>), (<a class="code" href="group__hdcp22__cipher__v1__1.html#gaf9999b5a4f4b113af9b79e583fd9a391">XHDCP22_CIPHER_REG_CTRL_MODE_MASK</a>))</div><div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga0d49e32876b9d4cf2413a3dc2bafafba"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a></div><div class="ttdeci">#define XHdcp22Cipher_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes a value to a HDCP22 Cipher register. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:187</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_ga42e3f5b8c1f600d59c493effd730feb4"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#ga42e3f5b8c1f600d59c493effd730feb4">XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_CLR_OFFSET</div><div class="ttdoc">Control clear register * offset. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:81</div></div>
<div class="ttc" id="group__hdcp22__cipher__v1__1_html_gaf9999b5a4f4b113af9b79e583fd9a391"><div class="ttname"><a href="group__hdcp22__cipher__v1__1.html#gaf9999b5a4f4b113af9b79e583fd9a391">XHDCP22_CIPHER_REG_CTRL_MODE_MASK</a></div><div class="ttdeci">#define XHDCP22_CIPHER_REG_CTRL_MODE_MASK</div><div class="ttdoc">Control register Mode mask. </div><div class="ttdef"><b>Definition:</b> xhdcp22_cipher_hw.h:115</div></div>
</div><!-- fragment -->
<p>This macro sets the HDCP operation mode for the HDCP22 Cipher peripheral. </p>
<p>The mode</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga0f017a5eb8e9dd5061518ff474d988fe" title="This macro sets the HDCP operation mode for the HDCP22 Cipher peripheral. ">XHdcp22Cipher_SetTxMode(u32 BaseAddress)</a> </dd></dl>

</div>
</div>
<a id="ga0d49e32876b9d4cf2413a3dc2bafafba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d49e32876b9d4cf2413a3dc2bafafba">&#9670;&nbsp;</a></span>XHdcp22Cipher_WriteReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XHdcp22Cipher_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__hdcp22__cipher__v1__1.html#ga326243b9841b62a7e3987230a57fa8fa">XHdcp22Cipher_Out32</a>((BaseAddress) + ((u32)RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__hw_8h.html">xhdcp22_cipher_hw.h</a>&gt;</code></p>

<p>This macro writes a value to a HDCP22 Cipher register. </p>
<p>A 32 bit write is performed. If the component is implemented in a smaller width, only the least significant data is written.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register (defined at the top of this file) to be written. </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write into the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba" title="This macro writes a value to a HDCP22 Cipher register. ">XHdcp22Cipher_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__hdcp22__cipher__v1__1.html#ga416c55928fae40ecadc891c4c33445fa">XHdcp22Cipher_SetKs()</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga847b7f42086ee357022e35311f1d4317">XHdcp22Cipher_SetLc128()</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga9c34621ad21b25631a15efc6525ab49d">XHdcp22Cipher_SetRiv()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga5efdef3153d7c5b9953ee764d69a30b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5efdef3153d7c5b9953ee764d69a30b0">&#9670;&nbsp;</a></span>XHdcp22Cipher_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XHdcp22Cipher_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher___config.html">XHdcp22_Cipher_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8c.html">xhdcp22_cipher.c</a>&gt;</code></p>

<p>This function initializes the HDCP22 Cipher core. </p>
<p>This function must be called prior to using the HDCP22 Cipher core. Initialization of the HDCP22 Cipher includes setting up the instance data, and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_hdcp22___cipher.html" title="The XHdcp22 Cipher driver instance data. ">XHdcp22_Cipher</a> core instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the HDCP22 Cipher core core. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if XHdcp22Cipher_CfgInitialize was successful.</li>
<li>XST_FAILURE if HDCP22 Cipher ID mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___cipher___config.html#ac7d005bdb474513a59cd54b44e5f5d7c">XHdcp22_Cipher_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a81994acd26e6c6a2536737e6080f9c23">XHdcp22_Cipher::Config</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a8d86af96b8ffa11a980998f31e4f703a">XHdcp22_Cipher::IsReady</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#gacce7070e4d4e8c1dc04c517862c7417b">XHDCP22_CIPHER_MASK_16</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga386adc1b38325505ded478f4d40fa692">XHDCP22_CIPHER_SHIFT_16</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga6bae35ace045d9b076fa767511f7d5b9">XHDCP22_CIPHER_VER_ID</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#gaab5edfdfe3390aa42c35801ea76b7a2f">XHDCP22_CIPHER_VER_ID_OFFSET</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>.</p>

</div>
</div>
<a id="ga5856e909adc6565d8b3d1cfeceb8d72e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5856e909adc6565d8b3d1cfeceb8d72e">&#9670;&nbsp;</a></span>XHdcp22Cipher_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_hdcp22___cipher___config.html">XHdcp22_Cipher_Config</a> * XHdcp22Cipher_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8h.html">xhdcp22_cipher.h</a>&gt;</code></p>

<p>This function returns a reference to an <a class="el" href="struct_x_hdcp22___cipher___config.html" title="This typedef contains configuration information for the HDCP22 Cipher core. ">XHdcp22_Cipher_Config</a> structure based on the core id, <em>DeviceId</em>. </p>
<p>The return value will refer to an entry in the device configuration table defined in the xhdcp22_cipher_g.c file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique core ID of the XHDCP22 Cipher core for the lookup operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XHdcp22Cipher_LookupConfig returns a reference to a config record in the configuration table (in xhdcp22_cipher_g.c) corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gae3f78fd3af59a425cf52222b7d25f4a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3f78fd3af59a425cf52222b7d25f4a9">&#9670;&nbsp;</a></span>XHdcp22Cipher_SelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XHdcp22Cipher_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher__selftest_8c.html">xhdcp22_cipher_selftest.c</a>&gt;</code></p>

<p>This function reads ID of the peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the HDCP22 Cipher core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if ID was matched.</li>
<li>XST_FAILURE if ID was mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___cipher___config.html#ac7d005bdb474513a59cd54b44e5f5d7c">XHdcp22_Cipher_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a81994acd26e6c6a2536737e6080f9c23">XHdcp22_Cipher::Config</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#gacce7070e4d4e8c1dc04c517862c7417b">XHDCP22_CIPHER_MASK_16</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga386adc1b38325505ded478f4d40fa692">XHDCP22_CIPHER_SHIFT_16</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga6bae35ace045d9b076fa767511f7d5b9">XHDCP22_CIPHER_VER_ID</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#gaab5edfdfe3390aa42c35801ea76b7a2f">XHDCP22_CIPHER_VER_ID_OFFSET</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga28f5d596723ef4ad40f7c9f488bb2217">XHdcp22Cipher_ReadReg</a>.</p>

</div>
</div>
<a id="ga416c55928fae40ecadc891c4c33445fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga416c55928fae40ecadc891c4c33445fa">&#9670;&nbsp;</a></span>XHdcp22Cipher_SetKs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XHdcp22Cipher_SetKs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>KsPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8c.html">xhdcp22_cipher.c</a>&gt;</code></p>

<p>This function sets the Ks key in the HDCP22 Cipher core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">KsPtr</td><td>is a pointer to the Ks key. </td></tr>
    <tr><td class="paramname">Length</td><td>indicates the number of bytes.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The Ks should be in big endian notation. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___cipher___config.html#ac7d005bdb474513a59cd54b44e5f5d7c">XHdcp22_Cipher_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a81994acd26e6c6a2536737e6080f9c23">XHdcp22_Cipher::Config</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga27757ac7f66c20e9ea89e7c8ef36ae0c">XHDCP22_CIPHER_REG_KS_1_OFFSET</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>.</p>

</div>
</div>
<a id="ga847b7f42086ee357022e35311f1d4317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga847b7f42086ee357022e35311f1d4317">&#9670;&nbsp;</a></span>XHdcp22Cipher_SetLc128()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XHdcp22Cipher_SetLc128 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>Lc128Ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8c.html">xhdcp22_cipher.c</a>&gt;</code></p>

<p>This function sets the Lc128 key in the HDCP22 Cipher core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">Lc128Ptr</td><td>is a pointer to the LC128 key. </td></tr>
    <tr><td class="paramname">Length</td><td>indicates the number of bytes.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The Lc128 should be in big endian notation. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___cipher___config.html#ac7d005bdb474513a59cd54b44e5f5d7c">XHdcp22_Cipher_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a81994acd26e6c6a2536737e6080f9c23">XHdcp22_Cipher::Config</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#ga59cd2434ec0f2a563c9a9cdd67e76ade">XHDCP22_CIPHER_REG_LC128_1_OFFSET</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>.</p>

</div>
</div>
<a id="ga9c34621ad21b25631a15efc6525ab49d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c34621ad21b25631a15efc6525ab49d">&#9670;&nbsp;</a></span>XHdcp22Cipher_SetRiv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XHdcp22Cipher_SetRiv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_hdcp22___cipher.html">XHdcp22_Cipher</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>RivPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xhdcp22__cipher_8c.html">xhdcp22_cipher.c</a>&gt;</code></p>

<p>This function sets the Riv key in the HDCP22 Cipher core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the HDCP22 Cipher core instance. </td></tr>
    <tr><td class="paramname">RivPtr</td><td>is a pointer to the Riv key. </td></tr>
    <tr><td class="paramname">Length</td><td>indicates the number of bytes.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The Riv should be in big endian notation. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_hdcp22___cipher___config.html#ac7d005bdb474513a59cd54b44e5f5d7c">XHdcp22_Cipher_Config::BaseAddress</a>, <a class="el" href="struct_x_hdcp22___cipher.html#a81994acd26e6c6a2536737e6080f9c23">XHdcp22_Cipher::Config</a>, <a class="el" href="group__hdcp22__cipher__v1__1.html#gae69fc8ee52b8176eb0811ba7abddcef1">XHDCP22_CIPHER_REG_RIV_1_OFFSET</a>, and <a class="el" href="group__hdcp22__cipher__v1__1.html#ga0d49e32876b9d4cf2413a3dc2bafafba">XHdcp22Cipher_WriteReg</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
